package com.sgb.trip.entity;

import java.util.List;

/**
 * Time:2021/10/13
 * Author:黄淋
 * Description:
 */
public class FlightOrdersInfoEntity {

    /**
     * orderDataNo : 1436551370537963520
     * orderNo : 1052021040788903299
     * orderStatus : 1
     * orderTime : 1631334260522
     * passengerNum : 2
     * ticketsFlights : [{"fromCity":"成都","fromDateTime":1617792900000,"ticketAmount":1220,"ticketNum":1,"ticketsType":1,"toCity":"武汉","toDateTime":1617792900000}]
     */

    private long orderDataNo;
    private String orderNo;
    private int orderStatus;
    private long orderTime;
    private int passengerNum;
    private List<FlightOrdersInfoEntity.TicketsFlightsBean> ticketsFlights;

    public static class TicketsFlightsBean {

        /**
         * airlineName : 四川航空
         * flightNo : 3U8757
         * fromAirportName : 双流机场
         * fromCity : 成都
         * fromDateTime : 1617792900000
         * fromTerminal : T1
         * logo : https://openapi.shpanhe.com/Content/Images/AirLineLogo/KP.png
         * ticketAmount : 1220
         * ticketNum : 1
         * ticketsType : 1
         * toCity : 武汉
         * toDateTime : 1617792900000
         */

        private String airlineName;
        private String flightNo;
        private String fromAirportName;
        private String fromCity;
        private long fromDateTime;
        private String fromTerminal;
        private String logo;
        private double ticketAmount;
        private int ticketNum;
        private int ticketsType;
        private String toCity;
        private long toDateTime;

        public String getAirlineName() {
            return airlineName;
        }

        public void setAirlineName(String airlineName) {
            this.airlineName = airlineName;
        }

        public String getFlightNo() {
            return flightNo;
        }

        public void setFlightNo(String flightNo) {
            this.flightNo = flightNo;
        }

        public String getFromAirportName() {
            return fromAirportName;
        }

        public void setFromAirportName(String fromAirportName) {
            this.fromAirportName = fromAirportName;
        }

        public String getFromCity() {
            return fromCity;
        }

        public void setFromCity(String fromCity) {
            this.fromCity = fromCity;
        }

        public long getFromDateTime() {
            return fromDateTime;
        }

        public void setFromDateTime(long fromDateTime) {
            this.fromDateTime = fromDateTime;
        }

        public String getFromTerminal() {
            return fromTerminal;
        }

        public void setFromTerminal(String fromTerminal) {
            this.fromTerminal = fromTerminal;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public double getTicketAmount() {
            return ticketAmount;
        }

        public void setTicketAmount(double ticketAmount) {
            this.ticketAmount = ticketAmount;
        }

        public int getTicketNum() {
            return ticketNum;
        }

        public void setTicketNum(int ticketNum) {
            this.ticketNum = ticketNum;
        }

        public int getTicketsType() {
            return ticketsType;
        }

        public void setTicketsType(int ticketsType) {
            this.ticketsType = ticketsType;
        }

        public String getToCity() {
            return toCity;
        }

        public void setToCity(String toCity) {
            this.toCity = toCity;
        }

        public long getToDateTime() {
            return toDateTime;
        }

        public void setToDateTime(long toDateTime) {
            this.toDateTime = toDateTime;
        }
    }

    public long getOrderDataNo() {
        return orderDataNo;
    }

    public void setOrderDataNo(long orderDataNo) {
        this.orderDataNo = orderDataNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public long getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(long orderTime) {
        this.orderTime = orderTime;
    }

    public int getPassengerNum() {
        return passengerNum;
    }

    public void setPassengerNum(int passengerNum) {
        this.passengerNum = passengerNum;
    }

    public List<FlightOrdersInfoEntity.TicketsFlightsBean> getTicketsFlights() {
        return ticketsFlights;
    }

    public void setTicketsFlights(List<FlightOrdersInfoEntity.TicketsFlightsBean> ticketsFlights) {
        this.ticketsFlights = ticketsFlights;
    }
}
